package com.oa.job;

import org.jboss.varia.scheduler.Schedulable;
import org.apache.log4j.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import com.oa.jsinfo.*;

public class JsxxNoticeWorkJob implements Schedulable {
  static Logger logger = Logger.getLogger(JsxxNoticeWorkJob.class);
  private String uripath = null;
  private String dateStr = null;
  public JsxxNoticeWorkJob(String uripath) {
    this.uripath = uripath;
  } 

  public void perform(Date date, long long1) {
    try {
      logger.info("perform -------------------begin");
      NoticeThread noticeThread = new NoticeThread(uripath);
      noticeThread.start();
      logger.info("perform -------------------end");
    } catch (Exception e) {
      logger.error("exception " + e.getMessage(),e);
    }
  }
}